package com.tyj.movie.mapper;

import com.tyj.movie.entity.MovieTheatre;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tyj.movie.vo.MovieTheatreVo;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author tyj
 * @since 2021-06-28
 */
public interface MovieTheatreMapper extends BaseMapper<MovieTheatre> {

    /**
     * 查询影院根据城市id
     * @param cityId
     * @return
     */
    List<MovieTheatreVo> queryMovieTheatre(Integer cityId);

    /**
     * 查询影院信息与品牌
     * @param movieTheatreId
     * @return
     */
    MovieTheatre queryMovieTheatreAndBrand(Long movieTheatreId);
}
